<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!--吊顶开始-->
<div class="ceiling">
  <div class="site-nav-wrap clearfix">
    <div class="user-info">
      <a href="/">飞猪</a>
      <span class="greet">Hi，</span>
      <c:if test="${USER.username != null}">
        <a href="/user_info" class="user_info">${USER.username}</a>
        <a href="/level" class="user_level">${USER.level > 3 ? "VIP" : "普通用户"}</a>
        <a href="/logout" class="logout">退出</a>
      </c:if>

      <c:if test="${USER.username == null}">
        <span class="would">最近想去哪里玩?</span>
        <a href="/login" class="login">请登录</a>
        <a href="/reg" class="reg">免费注册</a>
      </c:if>
    </div>

    <div class="nav-info">
      <a href="#">手机客户端</a>
      <a href="#">服务中心</a>
      <a href="#">商家中心</a>
    </div>
  </div>
</div>
<!--吊顶结束-->
